/*
 * @(#)CustPersonInfoConstants.java 2012-12-27
 *
 * Copyright(C) 2011-2012 Gopay Information and technology Co., Ltd.
 * Sanyunqiao, Chaoyang, Beijing, 100027, China.
 * All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * Gopay Information and technology Co., Ltd. (“Confidential Information”).
 * You shall not disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into with Gopay.
 */
package com.gopay.common.constants.cust;

/**
 * 国付宝个人客户信息常量
 * 
 * @CustPersonInfoConstants.java
 * @author liuxin
 * @2012-12-27 上午11:33:47 www.gopay.com.cn Inc.All rights reserved.
 */
public class CustPersonInfoConstants {

    /**
     * 实名认证 是(已实名已认证)
     */
    public static final String REAL_NAME_CERTIFY_YES = "1";

    /**
     * 实名认证 否(未实名未认证)
     */
    public static final String REAL_NAME_CERTIFY_NO = "0";
    
    /**
     * 实名认证 中间状态(已实名未认证)
     */
    public static final String REAL_NAME_CERTIFY_HALF = "2";    

    /**
     * 通过手机认证 是
     */
    public static final String MOBILE_CERTIFY_YES = "1";

    /**
     * 通过手机认证 否
     */
    public static final String MOBILE_CERTIFY_NO = "0";

    /**
     * 证件类型<br>
     * 01-身份证或临时身份证<br>
     */
    public static final String CERT_TYPE_IDCARD = "01";

    /**
     * 证件类型<br>
     * 02-户口簿<br>
     */
    public static final String CERT_TYPE_RESIDENCE_BOOKLET = "02";

    /**
     * 证件类型 03军人身份证件
     */
    public static final String CERT_TYPE_ARMYMAN_IDCARD = "03";

    /**
     * 证件类型<br>
     * 04-武装警察身份证件<br>
     */
    public static final String CERT_TYPE_POLICE_IDCARD = "04";

    /**
     * 证件类型<br>
     * 05-港澳居民往来内地通行证<br>
     * RPHMC = Residence Permits for Hongkong and Macao Compatriots<br>
     */
    public static final String CERT_TYPE_RPHMC = "05";

    /**
     * 证件类型<br>
     * 06-台湾居民往来大陆通行证或其他有效旅行证件<br>
     * Taiwan residents current mainland pass or other valid travel documents<br>
     */
    public static final String CERT_TYPE_TAIWAN = "06";

    /**
     * 证件类型<br>
     * 07-本国护照<br>
     */
    public static final String CERT_TYPE_PASSPORT = "07";

    /**
     * 证件类型<br>
     * 08-外国护照<br>
     */
    public static final String CERT_TYPE_FOREIGN_PASSPORT = "08";

    /**
     * 证件类型<br>
     * 09-临时身份证<br>
     */
    public static final String CERT_TYPE_TEMPORARY_IDCARD = "09";

    /**
     * 注册方式 Email注册
     */
    public static final String REG_TYPE_EMIAL = "01";

    /**
     * 注册方式 手机注册
     */
    public static final String REG_TYPE_MOBILE = "02";

    /**
     * 客户级别 普通
     */
    public static final int PRIVILEGE_ORDINARY = 0;

    /**
     * 客户级别 优质
     */
    public static final int PRIVILEGE_HIGH_QUALITY = 1;

    /**
     * 支付密码状态 0：正常
     */
    public static final String PAYPWDSTATUS_NORMAL = "0";

    /**
     * 支付密码状态 1：当日锁定
     */
    public static final String PAYPWDSTATUS_LOCK_ONEDAY = "1";

    /**
     * 支付密码状态 2：永久锁定
     */
    public static final String PAYPWDSTATUS_LOCK_PERMANENT = "2";
    /**
     * 手机支付密码状态 0：正常
     */
    public static final String MTPAYPWDSTATUS_NORMAL = "0";
    
    /**
     * 手机支付密码状态 1：当日锁定
     */
    public static final String MTPAYPWDSTATUS_LOCK_ONEDAY = "1";
    
    /**
     * 手机支付密码状态 2：永久锁定
     */
    public static final String MTPAYPWDSTATUS_LOCK_PERMANENT = "2";

    // ******************************************************
    // 【个人客户状态】
    // ******************************************************
    /**
     * 客户状态 00-正常
     */
    public static final String CUST_STAT_NORMAL = "00";

    /**
     * 客户状态 01-待邮箱验证
     */
    public static final String CUST_STAT_WAIT_EMAIL_CERTIFY = "01";

    /**
     * 客户状态 02-待补全客户信息
     */
    public static final String CUST_STAT_WAIT_INFO_PERFECT = "02";

    /**
     * 客户状态 03-控制台锁定
     */
    public static final String CUST_STAT_CONSOLE_LOCKED = "03";

    /**
     * 客户状态 99-注销
     */
    public static final String CUST_STAT_CANCEL = "99";

    // ******************************************************
    // 【实名认证状态】
    // ******************************************************
    /**
     * 实名认证状态 -未实名
     */
    public static final String REAL_NAME_CERTIFY_STAT_NO = "00";
    /**
     * 实名认证状态 -新生认证未通过
     */
    public static final String REAL_NAME_CERTIFY_STAT_HNA_FAIL = "01";
    /**
     * 实名认证状态 -新生认证已通过
     */
    public static final String REAL_NAME_CERTIFY_STAT_HNA_PASS = "02";
    /**
     * 实名认证状态  -身份证照片已上传待审核
     */
    public static final String REAL_NAME_CERTIFY_STAT_WAIT_AUDIT = "03";
    /**
     * 实名认证状态  -审核未通过
     */
    public static final String REAL_NAME_CERTIFY_STAT_AUDIT_REFUSED = "04";
    /**
     * 实名认证状态  -审核已通过（已实名）
     */
    public static final String REAL_NAME_CERTIFY_STAT_AUDIT_PASSED = "05";
    
    /**
     * 新生验证错误次数
     */
    public static final int REAL_NAME_CERTIFY_ERR_NUM = 3;
    
    /**
     * 注册类型-email
     */
//    public static final String REGTYPE_EMAIL = "01";
    
    /**
     * 注册类型-手机
     */
//    public static final String REGTYPE_MOBILE = "02";
    
    /**
     * 性别-男
     */
    public static final String CUST_SEX_MALE = "M";
    
    /**
     * 性别-女
     */
    public static final String CUST_SEX_FEMALE = "F";
    
    /**
     * 非公司员工
     */
    public static final String IS_NOT_EMPLOYEES = "0";
    /**
     * 国付宝员工
     */
    public static final String IS_GOPAY_EMPLOYEES = "1";
    /**
     * 集团员工
     */
    public static final String IS_GROUP_EMPLOYEES = "2";
    /**
	 * 身份证校验次数阈值
	 * add by liuxuyang 20171120
	 */
	public static final int CERT_NO_CHECK_NUM_THRESHOLD=5;
	/**PC数字证书开关开启
	 * add by liuxuyang 20171120
	 */
	public static final String CA_CERT_SWITCH_OPEN = "01";
	/**PC数字证书开关关闭
	 * add by liuxuyang 20171120
	 */
	public static final String CA_CERT_SWITCH_OFF = "00";
	/**移动数字证书开关开启
	 * add by liuxuyang 20171120
	 */
	public static final String MOB_CA_CERT_SWITCH_OPEN = "01";
	/**移动数字证书开关关闭
	 * add by liuxuyang 20171120
	 */
	public static final String MOB_CA_CERT_SWITCH_OFF = "00";

}
